package com.coffee.admin.api.platform.result;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class PlatformPermissionResult implements Serializable{
	private static final long serialVersionUID = -1L;
	private Integer id;
	private String permissionAlias;
	private String permissionName;
	private Integer pid;
	private Date createTime;

	/**
	 父级权限ID：level = 1的时候为0
	 */
	private Integer parentPermissionId;


	private List<PlatformPermissionResult> childList = new ArrayList<PlatformPermissionResult>();
}

